package com.coreservlets.jsf.ss12;


public class CityInfo
{
	private int cityCode;
	private String cityName;
	private String nlfTeamName;
	private String mlbTeamName;
	
	public int getCityCode() 
	{
		return cityCode;
	}
	
	public void setCityCode(int cityCode) 
	{
		this.cityCode = cityCode;
	}
	
	public String getNlfTeamName() 
	{
		return nlfTeamName;
	}
	
	public void setNlfTeamName(String nlfTeamName)
	{
		this.nlfTeamName = nlfTeamName;
	}
	
	public String getMlbTeamName() 
	{
		return mlbTeamName;
	}
	
	public void setMlbTeamName(String mlbTeamName) 
	{
		this.mlbTeamName = mlbTeamName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public CityInfo(int cityCode, String cityName, String nlfTeamName,
			String mlbTeamName)
	{
		super();
		this.cityCode = cityCode;
		this.cityName = cityName;
		this.nlfTeamName = nlfTeamName;
		this.mlbTeamName = mlbTeamName;
	}
	
	public CityInfo()
	{
		
	}
	
	public static CityInfo[] cities = { new CityInfo( 1, "Baltimore", "Baltimore Ravens", "Baltimore Orieles" ), 
										new CityInfo( 2, "Washington DC", "Washington Nationals", "Washington Redskins"),
										new CityInfo( 3, "Philadelphia", "Philadelphia Phillies", "Philadelphia Eagles" ) };
	
}
